package io

const (
	DefaultPing = "ping"
	DefaultPong = "pong"
)

type Type string

const (
	TypeCallback Type = "callback" //写-读模式
	TypeWrite    Type = "write"    //只写模式
	TypeRead     Type = "read"     //只读模式
	TypeNormal   Type = "normal"   //普通,读写异步
)

var (
	packageStart = []byte{0x88, 0x88}
	packageEnd   = []byte{0x89, 0x89}
)
